package adv3;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class ScTest {
    public static void main(String[] args) {
        Scanner in=new Scanner(System.in);
//        String str=in.next();
//        System.out.println(str);
        System.out.println("请输入年龄:");
        int age=in.nextInt();
        //System.in.read();
        in.nextLine();///！！！！！！！
        System.out.println("请输入姓名");
        String str2=in.nextLine();
        System.out.println(age);
        System.out.println(str2.length());
        System.out.println(str2);
    }
}
